package com.sinosoft.tcmemr.manager;

import com.sinosoft.tcmemr.entity.PcaseModelEntity;

public interface PcaseModelManager {
	/**
	 * 查询病历模板
	 * @param type
	 * @param modelName
	 * @return
	 */
	public PcaseModelEntity selectByModelName(int type,String modelName);
	/**
	 * 插入模板
	 * @param pcasemodel
	 * @return
	 */
	public boolean insertSelective(PcaseModelEntity pcasemodel);
	/**
	 * 更新模板
	 * @param pcasemodel
	 * @return
	 */
	public boolean updateByPrimaryKeySelective(PcaseModelEntity pcasemodel);
	
	/**
	 * 删除模板
	 * @param id模版ID
	 * @return 
	 */
	public boolean deleteByPrimaryKey(Integer id);
	
}
